package com.wins.bbs.controller;

import com.wins.bbs.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

public class UserController extends AbstractController {

    @Autowired
    UserService userService;

    private UserController() {

    }

    @Override
    public String execute() throws Exception {
        putSuccessResult("users", userService.listAllUser());
        return SUCCESS;
    }
}
